CVE-2023-53322
scsi: qla2xxx: Wait for io return on terminate rport
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Wait for io return on terminate rport System crash due to use after free. Current code allows terminate_rport_io to exit before making sure all IOs has returned. For FCP-2 device, IO's can hang on in HW because driver has not tear down the session in FW at first sign of cable pull. When dev_loss_tmo timer pops, terminate_rport_io is called and upper layer is about to free various resources. Terminate_rport_io trigger qla to do the final cleanup, but the cleanup might not be fast enough where it leave qla still holding on to the same resource. Wait for IO's to return to upper layer before resources are freed.
INFO
Published Date :
Sept. 16, 2025, 5:15 p.m.
Last Modified :
Sept. 16, 2025, 5:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Ensure all IOs return before freeing resources.
- Apply vendor-provided patches for the qla2xxx driver.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53322
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53322
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53322
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53322
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53322
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 16, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Wait for io return on terminate rport System crash due to use after free. Current code allows terminate_rport_io to exit before making sure all IOs has returned. For FCP-2 device, IO's can hang on in HW because driver has not tear down the session in FW at first sign of cable pull. When dev_loss_tmo timer pops, terminate_rport_io is called and upper layer is about to free various resources. Terminate_rport_io trigger qla to do the final cleanup, but the cleanup might not be fast enough where it leave qla still holding on to the same resource. Wait for IO's to return to upper layer before resources are freed. Added Reference https://git.kernel.org/stable/c/079c8264ed9fea8cbcac01ad29040f901cbc3692 Added Reference https://git.kernel.org/stable/c/4647d2e88918a078359d1532d90c417a38542c9e Added Reference https://git.kernel.org/stable/c/5bcdaafd92be6035ddc77fa76650cf9dd5b864c4 Added Reference https://git.kernel.org/stable/c/8a55556cd7e0220486163b1285ce11a8be2ce5fa Added Reference https://git.kernel.org/stable/c/90770dad1eb30967ebd8d37d82830bcf270b3293 Added Reference https://git.kernel.org/stable/c/a9fe97fb7b4ee21bffb76f2acb05769bad27ae70 Added Reference https://git.kernel.org/stable/c/d25fded78d88e1515439b3ba581684d683e0b6ab Added Reference https://git.kernel.org/stable/c/fc0cba0c7be8261a1625098bd1d695077ec621c9